﻿<%@ WebHandler Language="C#" Class="ExistUserName" %>

using System;
using System.Web;

public class ExistUserName : IHttpHandler {
    
    public void ProcessRequest (HttpContext context) {
        context.Response.ContentType = "text/plain";
        string userName=context.Request.Form["userName"];
        if(userName==null)
            return;
        bool exist = new MatchIns.BLL.TMemberLogin().Exists(userName);
        context.Response.Write(exist);
    }
 
    public bool IsReusable {
        get {
            return false;
        }
    }

}